PHP Photo Album tutorial

In this directory you'll find three versions of the PHP Photo Album from the tutorial in .net magazine. You'll need to have a Web server (such as Xitami, on the disc) and PHP installed and configured correctly to view them.

The code contains many comments - the best way to learn what it does is to open it in a text editor (Notepad, HomeSite, not Word!) and try and follow along.

Folder File Description
version1 album.php A very basic script that uploads the images and displays them in a table
version2 album.php Slightly more sophisticated: uses thumbnail.php script to dynamically resize the images
version3 album.php The final version. Instead of dynamically resizing images, saves the thumbnail when the image is first uploaded. Contains many more checks, and puts all functions in a seperate file, album_functions.php